home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'AHMTTextReplace.pas' rev: 3.00
-
- #ifndef AHMTTextReplaceHPP
- #define AHMTTextReplaceHPP
- #include <AHMSystem.hpp>
- #include <Classes.hpp>
- #include <Messages.hpp>
- #include <Windows.hpp>
- #include <SysUtils.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Ahmttextreplace
- {
- //-- type declarations -------------------------------------------------------
- typedef void __fastcall (__closure *TAHMBeforeWrite)(System::TObject* Sender, System::AnsiString &Line
- , int LineNo, bool &WriteLine);
-
- class DELPHICLASS TAHMTextReplace;
- class PASCALIMPLEMENTATION TAHMTextReplace : public Ahmsystem::TAHMSystemsComponent
- {
- typedef Ahmsystem::TAHMSystemsComponent inherited;
-
- private:
- int FLineNumber;
- TAHMBeforeWrite FBeforeWrite;
- System::AnsiString FFileTo;
- System::AnsiString FFileFrom;
- System::AnsiString FLine;
- int FNoOfLinesOnly;
- bool FBusyWriting;
- bool FUseNoOfLines;
-
- public:
- __fastcall virtual TAHMTextReplace(Classes::TComponent* AOwner);
- bool __fastcall Execute(void);
- void __fastcall AddNewString(System::AnsiString MyNewString);
- __property int LineNo = {read=FLineNumber, nodefault};
- __property System::AnsiString Line = {read=FLine};
-
- __published:
- __property System::AnsiString FileFrom = {read=FFileFrom, write=FFileFrom};
- __property System::AnsiString FileTo = {read=FFileTo, write=FFileTo};
- __property TAHMBeforeWrite BeforeWrite = {read=FBeforeWrite, write=FBeforeWrite};
- __property bool UseNoOfLines = {read=FUseNoOfLines, write=FUseNoOfLines, default=0};
- __property int NoOfLinesOnly = {read=FNoOfLinesOnly, write=FNoOfLinesOnly, nodefault};
- public:
- /* TComponent.Destroy */ __fastcall virtual ~TAHMTextReplace(void) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Ahmttextreplace */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Ahmttextreplace;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // AHMTTextReplace
-